/*
 * app_isr.h
 *
 *  Created on: Jun 29, 2025
 *      Author: User
 */

#ifndef INC_APP_ISR_H_
#define INC_APP_ISR_H_

#include "main.h"

#define RECEIVEBUFFSIZE 15
typedef struct {
	uint8_t RxData[8];
	uint32_t RxHeaderID;
}RxDataBuffer;

extern RxDataBuffer rxCan1DataBuffer[RECEIVEBUFFSIZE];
extern RxDataBuffer rxCan2DataBuffer[RECEIVEBUFFSIZE];
extern CAN_TxHeaderTypeDef TxHeader;
extern CAN_RxHeaderTypeDef RxHeader;
extern uint8_t RxData[8];
extern CAN_RxHeaderTypeDef Rx2Header;
extern uint8_t Rx2Data[8];
extern int fifo0_can1_flag;
extern int fifo0_can2_flag;
extern int fifo1_can2_flag;



#endif /* INC_APP_ISR_H_ */
